import Vue from "vue"
import App from "./App.vue"
import api from "./api" // api
import Antd from "ant-design-vue"
import utils from "./utils"
import "./filters" // 过滤器
import router from "./router"
import store from "./store"
import "./icons" // 图标
import moment from "moment"

// mock文件
process.env.VUE_APP_MOCK && require("./mock")

Vue.use(Antd)
Vue.use(api)

Vue.config.productionTip = false
Vue.prototype.$moment = moment
Vue.prototype.$utils = utils

new Vue({
	router,
	store,
	render: (h) => h(App),
}).$mount("#app")
